package cn.edu.scau.vsac.service;

import cn.edu.scau.vsac.domain.dto.HelpRequestDto;
import cn.edu.scau.vsac.entity.HelpRequest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 我要求助表（help_request）(HelpRequest)表服务接口
 *
 * @author makejava
 * @since 2023-08-05 20:12:18
 */
public interface HelpRequestService extends IService<HelpRequest> {
    HelpRequest create(HelpRequestDto helpRequestDto);

    String deleteById(Long id);

    HelpRequest getOneById(Long id);

    List<HelpRequest> getPageByUserId(Long userId);
}

